using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Youshow.Ace.Domain.Models;

namespace YayiMgr.Domain.SystemBase
{
    /// <summary>
    /// 企业账号权限
    /// </summary>
    public class Company: BaseModel<Guid>
    {
        // public new Guid Id { get; set; }
        [Comment("公司名称")]
        [MaxLength(50)]
        [Required]
        public string CompanyName { get; set; }
        [Comment("公司税号")]
        [MaxLength(50)]
        public string? CompanyQysh { get; set; }
        [Comment("联系人")]
        [MaxLength(10)]
        public string LinkMan { get; set; }
        [Comment("联系电话")]
        [MaxLength(50)]
        public string Phone { get; set; }
        [Comment("会员等级")]
        public int? Level { get; set; }
        [Comment("会员开始日期")]
        public DateTime? StartDate { get; set; }
        [Comment("会员截止日期")]
        public DateTime? EndDate { get; set; }
        public string? Remarks { get; set; }
    }
}